﻿import java.util.Scanner;

public class buyaowen{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.println("请输入用户名");
		String yonghu = input.next();
		System.out.println("请输入密码");
		int mima = input.nextInt();
		String mingzi = "xiaoming";
		int zhengmi = 123456;
		if(yonghu.equals("xiaoming")){
			if(mima==zhengmi){
				System.out.println("登陆成功");
			}else{
				System.out.println("密码错误");
			}
		}else{
			System.out.println("用户名错误，请重新输入！");
		}
	}
}